<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: Context Controls</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a>  </div>
  <div class="headertitle">
<div class="title">Context Controls</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGPU__Context.html">GPU_Context</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf60ffb5883532ecac641c63f37df6837"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="structGPU__Target.html">GPU_Target</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_gaf60ffb5883532ecac641c63f37df6837.html#gaf60ffb5883532ecac641c63f37df6837">GPU_GetContextTarget</a> (void)</td></tr>
<tr class="separator:gaf60ffb5883532ecac641c63f37df6837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf51e74e517561afc758ee1b586d64b38"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="structGPU__Target.html">GPU_Target</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_gaf51e74e517561afc758ee1b586d64b38.html#gaf51e74e517561afc758ee1b586d64b38">GPU_GetWindowTarget</a> (Uint32 windowID)</td></tr>
<tr class="separator:gaf51e74e517561afc758ee1b586d64b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3dae1cad2bc13a244402a01c5a663003"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="structGPU__Target.html">GPU_Target</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_ga3dae1cad2bc13a244402a01c5a663003.html#ga3dae1cad2bc13a244402a01c5a663003">GPU_CreateTargetFromWindow</a> (Uint32 windowID)</td></tr>
<tr class="separator:ga3dae1cad2bc13a244402a01c5a663003"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0012572c15191c155152cb7128d0297"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_gaf0012572c15191c155152cb7128d0297.html#gaf0012572c15191c155152cb7128d0297">GPU_MakeCurrent</a> (<a class="el" href="structGPU__Target.html">GPU_Target</a> *target, Uint32 windowID)</td></tr>
<tr class="separator:gaf0012572c15191c155152cb7128d0297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadcbfaeeed33aa915bbcacd7c56e9cb5a"><td class="memItemLeft" align="right" valign="top">DECLSPEC Uint8 SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_gadcbfaeeed33aa915bbcacd7c56e9cb5a.html#gadcbfaeeed33aa915bbcacd7c56e9cb5a">GPU_SetWindowResolution</a> (Uint16 w, Uint16 h)</td></tr>
<tr class="separator:gadcbfaeeed33aa915bbcacd7c56e9cb5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02369154d4d6ea30b11d628e4213d0ac"><td class="memItemLeft" align="right" valign="top">DECLSPEC Uint8 SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_ga02369154d4d6ea30b11d628e4213d0ac.html#ga02369154d4d6ea30b11d628e4213d0ac">GPU_SetFullscreen</a> (Uint8 enable_fullscreen, Uint8 use_desktop_resolution)</td></tr>
<tr class="separator:ga02369154d4d6ea30b11d628e4213d0ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaed73cab59fd89b2cea5cc3be63857574"><td class="memItemLeft" align="right" valign="top">DECLSPEC Uint8 SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_gaed73cab59fd89b2cea5cc3be63857574.html#gaed73cab59fd89b2cea5cc3be63857574">GPU_GetFullscreen</a> (void)</td></tr>
<tr class="separator:gaed73cab59fd89b2cea5cc3be63857574"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae389cc309b819305b4b388032dabe88a"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_gae389cc309b819305b4b388032dabe88a.html#gae389cc309b819305b4b388032dabe88a">GPU_SetShapeBlending</a> (Uint8 enable)</td></tr>
<tr class="separator:gae389cc309b819305b4b388032dabe88a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga84d7b871f376a131d3c89ba697e36b30"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="structGPU__BlendMode.html">GPU_BlendMode</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_ga84d7b871f376a131d3c89ba697e36b30.html#ga84d7b871f376a131d3c89ba697e36b30">GPU_GetBlendModeFromPreset</a> (<a class="el" href="group__ImageControls_ga7cbeeebabe3930345eec13d00b12f4f3.html#ga7cbeeebabe3930345eec13d00b12f4f3">GPU_BlendPresetEnum</a> preset)</td></tr>
<tr class="separator:ga84d7b871f376a131d3c89ba697e36b30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga525387b0bc9bf1ad5d15208fabd6f4af"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_ga525387b0bc9bf1ad5d15208fabd6f4af.html#ga525387b0bc9bf1ad5d15208fabd6f4af">GPU_SetShapeBlendFunction</a> (<a class="el" href="group__ImageControls_gae64f396ebf4f12015409cb2b6322bb74.html#gae64f396ebf4f12015409cb2b6322bb74">GPU_BlendFuncEnum</a> source_color, <a class="el" href="group__ImageControls_gae64f396ebf4f12015409cb2b6322bb74.html#gae64f396ebf4f12015409cb2b6322bb74">GPU_BlendFuncEnum</a> dest_color, <a class="el" href="group__ImageControls_gae64f396ebf4f12015409cb2b6322bb74.html#gae64f396ebf4f12015409cb2b6322bb74">GPU_BlendFuncEnum</a> source_alpha, <a class="el" href="group__ImageControls_gae64f396ebf4f12015409cb2b6322bb74.html#gae64f396ebf4f12015409cb2b6322bb74">GPU_BlendFuncEnum</a> dest_alpha)</td></tr>
<tr class="separator:ga525387b0bc9bf1ad5d15208fabd6f4af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4558d8f9e1174eaecf33d2ed0c816283"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_ga4558d8f9e1174eaecf33d2ed0c816283.html#ga4558d8f9e1174eaecf33d2ed0c816283">GPU_SetShapeBlendEquation</a> (<a class="el" href="group__ImageControls_ga905d81ffdd58f21186bd8501aa273654.html#ga905d81ffdd58f21186bd8501aa273654">GPU_BlendEqEnum</a> color_equation, <a class="el" href="group__ImageControls_ga905d81ffdd58f21186bd8501aa273654.html#ga905d81ffdd58f21186bd8501aa273654">GPU_BlendEqEnum</a> alpha_equation)</td></tr>
<tr class="separator:ga4558d8f9e1174eaecf33d2ed0c816283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac796e9802ddd5985caef21553885ec52"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_gac796e9802ddd5985caef21553885ec52.html#gac796e9802ddd5985caef21553885ec52">GPU_SetShapeBlendMode</a> (<a class="el" href="group__ImageControls_ga7cbeeebabe3930345eec13d00b12f4f3.html#ga7cbeeebabe3930345eec13d00b12f4f3">GPU_BlendPresetEnum</a> mode)</td></tr>
<tr class="separator:gac796e9802ddd5985caef21553885ec52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51a5bda3193aa93056c84253ec3960ba"><td class="memItemLeft" align="right" valign="top">DECLSPEC float SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_ga51a5bda3193aa93056c84253ec3960ba.html#ga51a5bda3193aa93056c84253ec3960ba">GPU_SetLineThickness</a> (float thickness)</td></tr>
<tr class="separator:ga51a5bda3193aa93056c84253ec3960ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a4b51d6d5755e741d7c680a93fbeee4"><td class="memItemLeft" align="right" valign="top">DECLSPEC float SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ContextControls_ga1a4b51d6d5755e741d7c680a93fbeee4.html#ga1a4b51d6d5755e741d7c680a93fbeee4">GPU_GetLineThickness</a> (void)</td></tr>
<tr class="separator:ga1a4b51d6d5755e741d7c680a93fbeee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:45 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
